package palf.commands {

internal class RunCommand implements Command {

	private var func : Function;
	private var args : Array;

	public function RunCommand(func : Function, args : Array) {
		this.func = func;
		this.args = args;
	}

	public function execute() : void {
		func.apply(null, args);
	}
}
}
